package mianyang.zhangsan.com.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mianyang.zhangsan.com.pojo.LeaveWord;

import java.util.List;

public interface LeaveWordService {
    Page<LeaveWord> queryPage(int pageNo);

    void leaveAdd(LeaveWord leaveWord);

    Page<LeaveWord> queryPageWrapper(int page, int rows, LeaveWord leaveWord);

    void delete(String leaveId);

    void deletes(String leaveIds);

    void update(int leaveId, LeaveWord leaveWord);

    List<LeaveWord> queryListByWrapper(LeaveWord leaveWord);

    QueryWrapper<LeaveWord> queryWrapper(LeaveWord leaveWord);
}
